package com.senac.service;

import java.util.List;

import javax.ejb.Local;

import com.senac.exception.DisciplinaException;
import com.senac.model.Disciplina;

@Local
public interface DisciplinaServiceLocal {
	
	
	public List<Disciplina> getDisciplinas();
	public Disciplina getDisciplinaById(Integer id);
	public boolean save(Disciplina disciplina) throws DisciplinaException;
	public boolean insert(Disciplina disciplina);
	public boolean update(Disciplina disciplina);
	public boolean delete(Integer id);
	
	public List<Disciplina> getDisciplinasByProfessor(int idProfessor);

}
